package com.google.code.chaotic.dto;

import java.io.Serializable;

//

public class UserDto implements Serializable {

	/** @uml.property name="id" */
	private String id;

	/** @uml.property name="userTypeId" */
	protected String userTypeId;

	/** @uml.property name="username" */
	private String username;

	/** @uml.property name="passwordMd5" */
	private String passwordMd5;

	/** @uml.property name="firstName" */
	private String firstName;

	/** @uml.property name="lastName" */
	private String lastName;

	/** @uml.property name="email" */
	private String email;

	//

	/** @uml.property name="id" */
	public void setId(String id) {
		this.id = id;
	}

	/** @uml.property name="id" */
	public String getId() {
		return id;
	}

	/** @uml.property name="userTypeId" */
	public String getUserTypeId() {
		return userTypeId;
	}

	/** @uml.property name="userTypeId" */
	public UserType getUserType() {
		return UserType.getById(userTypeId);
	}

	/** @uml.property name="username" */
	public String getUsername() {
		return username;
	}

	/** @uml.property name="username" */
	public void setUsername(String username) {
		this.username = username;
	}

	/** @uml.property name="firstName" */
	public String getFirstName() {
		return firstName;
	}

	/** @uml.property name="firstName" */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	/** @uml.property name="passwordMd5" */
	public String getPasswordMd5() {
		return passwordMd5;
	}

	/** @uml.property name="passwordMd5" */
	public void setPasswordMd5(String passwordMd5) {
		this.passwordMd5 = passwordMd5;
	}

	/** @uml.property name="lastName" */
	public String getLastName() {
		return lastName;
	}

	/** @uml.property name="lastName" */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	/** @uml.property name="email" */
	public String getEmail() {
		return email;
	}

	/** @uml.property name="email" */
	public void setEmail(String email) {
		this.email = email;
	}

}
